<!--page-->

<!--left-bar-->
<div class="left-bar" *ngIf="isShowPublicComponent">
    <div class="avatar-box">
        <img src="/assets/logo.jpeg" alt="头像">
        <p>{{user?user.name:''}}</p>
    </div>
    <ul>
        <li *ngFor="let menu of menuList" routerLink="{{menu.router}}" [class]="menu.selected?'active':''"
            (click)="clickMenu(menu)">
            {{menu.titleName}}
        </li>
    </ul>
</div>
<div class="top-bar" *ngIf="isShowPublicComponent">
    <a class="login-link" (click)="goToLogin()" routerLink="login">登录</a>
</div>
<div class="right-box">
    <router-outlet></router-outlet>
</div>
<!--<div class="modal-screen" *ngIf="modalStatus"></div>-->